<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/ipc/internal/IpcSocket.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b94456e2763cc4ff61641ee1fd517631.html">ipc</a></li><li class="navelem"><a class="el" href="dir_08f7e595e04b6b21bd129111ec77a9cc.html">internal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">IpcSocket.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_ipc_socket_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __IPCSOCKET_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __IPCSOCKET_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;../../socket/internal/Socket.h&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160; </div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_c_ipc_socket.html">   10</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_c_ipc_socket.html">CIpcSocket</a> : <span class="keyword">public</span> <a class="code" href="class_c_socket.html">CSocket</a></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;{</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    <a class="code" href="class_c_socket.html#abe0681b7a8f164b806bcb1edd565ef58">delete_class_copy_operator</a>(<a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>);</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    <a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>();</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>(<a class="code" href="class_c_basic_service.html">CBasicService</a>* pServer);</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>();</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifdef STD11</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    <a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>(<a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>&amp;&amp; sock);</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>&amp; operator= (<a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>&amp;&amp; sock);</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_socket.html#a816347ac8821a8288a38645702bee10e">Swap</a>(<a class="code" href="class_c_ipc_socket.html">CIpcSocket</a>&amp; sock);</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_sock_error.html">CSockError</a> WaitNamedPipe(<a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> timeout) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_c_socket.html#afaa6fee02d3a38224445cb42d63d3521">SetAddr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_c_socket.html#a18f281b53430ae6e741ac65c08ff42e2">_Close</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_sock_error.html">CSockError</a> <a class="code" href="class_c_socket.html#af4c2b2c6e3696ba11c605ee6fead1736">Socket</a>(<a class="code" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81">SOCKFAMILY::SockFamily</a> domain = <a class="code" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a7c983a10bd5c8139d1aa1268993d8604">SOCKFAMILY::IPC</a>, <a class="code" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SOCKTYPE::SockType</a> type = <a class="code" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca001599c1c291d81e5145c9aaed42852d">SOCKTYPE::STREAM</a>,</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SOCKPROTOCOL::SockProtocol</a> protocol = <a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea1cf712009c4a2e63641289b96b3d233b">SOCKPROTOCOL::IPC_OPEN</a>);</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_sock_error.html">CSockError</a> <a class="code" href="class_c_socket.html#a3f8d60c59caa235c4fb603e269166fd4">SetNolock</a>();</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_c_ipc_socket.html#a9ecee3dd0ec41c1f93fd5fef160b8b27">   56</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_sock_error.html">CSockError</a> <a class="code" href="class_c_ipc_socket.html#a9ecee3dd0ec41c1f93fd5fef160b8b27">SetLock</a>() { <span class="keywordflow">return</span> <a class="code" href="class_c_sock_error.html">CSockError</a>(CSockError::SUCC); }</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_c_ipc_socket.html#a1dfb58fc654dc02c197b6e43d88db099">   57</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_c_sock_error.html">CSockError</a> <a class="code" href="class_c_ipc_socket.html#a1dfb58fc654dc02c197b6e43d88db099">SetReuse</a>() { <span class="keywordflow">return</span> <a class="code" href="class_c_sock_error.html">CSockError</a>(CSockError::SUCC); }</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_c_ipc_socket.html#acaa3675710e25d5f88a29a8b8a3b9626">   58</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_c_ipc_socket.html#acaa3675710e25d5f88a29a8b8a3b9626">SetSocketOpt</a>(<span class="keywordtype">int</span> level, <span class="keywordtype">int</span> optname, <span class="keyword">const</span> <span class="keywordtype">char</span> *optval, socklen_t optlen) { <span class="keywordflow">return</span> 0; }</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_c_ipc_socket.html#a7ed42e2073c065d6464ed213071e4282">   59</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_c_ipc_socket.html#a7ed42e2073c065d6464ed213071e4282">GetSocketOpt</a>(<span class="keywordtype">int</span> level, <span class="keywordtype">int</span> optname, <span class="keywordtype">char</span>* optval, socklen_t* optlen)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0; }</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_c_ipc_socket.html#aa9da47e4da34f20ae039100f92fe8f44">   60</a></span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_c_ipc_socket.html#aa9da47e4da34f20ae039100f92fe8f44">Shutdown</a>(<a class="code" href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330">SDFLAGS::SdFlags</a> how) { <span class="keywordflow">return</span> 0; }</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;};</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">#endif // __IPCSOCKET_H__</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_c_sock_error_html"><div class="ttname"><a href="class_c_sock_error.html">CSockError</a></div><div class="ttdoc">套接字错误信息类</div><div class="ttdef"><b>Definition:</b> <a href="_sock_error_8h_source.html#l00013">SockError.h:13</a></div></div>
<div class="ttc" id="aclass_c_socket_html_afaa6fee02d3a38224445cb42d63d3521"><div class="ttname"><a href="class_c_socket.html#afaa6fee02d3a38224445cb42d63d3521">CSocket::SetAddr</a></div><div class="ttdeci">virtual void SetAddr(const char *addr)</div><div class="ttdoc">设置远程或本地地址</div><div class="ttdef"><b>Definition:</b> <a href="_socket_8cpp_source.html#l00171">Socket.cpp:171</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_p_r_o_t_o_c_o_l_html_a6fcb9a12773185f3ca183ad967bb672e"><div class="ttname"><a href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SOCKPROTOCOL::SockProtocol</a></div><div class="ttdeci">SockProtocol</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00031">SocketDef.h:31</a></div></div>
<div class="ttc" id="aclass_c_ipc_socket_html_a9ecee3dd0ec41c1f93fd5fef160b8b27"><div class="ttname"><a href="class_c_ipc_socket.html#a9ecee3dd0ec41c1f93fd5fef160b8b27">CIpcSocket::SetLock</a></div><div class="ttdeci">virtual CSockError SetLock()</div><div class="ttdoc">设置为阻塞</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_socket_8h_source.html#l00056">IpcSocket.h:56</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_t_y_p_e_html_ab1b532206487defe92ed4eeae94b488c"><div class="ttname"><a href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SOCKTYPE::SockType</a></div><div class="ttdeci">SockType</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00045">SocketDef.h:45</a></div></div>
<div class="ttc" id="aclass_c_ipc_socket_html_a7ed42e2073c065d6464ed213071e4282"><div class="ttname"><a href="class_c_ipc_socket.html#a7ed42e2073c065d6464ed213071e4282">CIpcSocket::GetSocketOpt</a></div><div class="ttdeci">virtual int GetSocketOpt(int level, int optname, char *optval, socklen_t *optlen) const</div><div class="ttdoc">获取套接口选项设置值</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_socket_8h_source.html#l00059">IpcSocket.h:59</a></div></div>
<div class="ttc" id="aclass_c_socket_html_a18f281b53430ae6e741ac65c08ff42e2"><div class="ttname"><a href="class_c_socket.html#a18f281b53430ae6e741ac65c08ff42e2">CSocket::_Close</a></div><div class="ttdeci">virtual int _Close()</div><div class="ttdef"><b>Definition:</b> <a href="_socket_8cpp_source.html#l00092">Socket.cpp:92</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="atools_8h_html_a64152c8b939d1ce06c7c5cb6c97b62f8"><div class="ttname"><a href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a></div><div class="ttdeci">#define LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00095">tools.h:95</a></div></div>
<div class="ttc" id="aclass_c_socket_html_a816347ac8821a8288a38645702bee10e"><div class="ttname"><a href="class_c_socket.html#a816347ac8821a8288a38645702bee10e">CSocket::Swap</a></div><div class="ttdeci">virtual void Swap(CSocket &amp;sock)</div><div class="ttdoc">交换两个套接口类</div><div class="ttdef"><b>Definition:</b> <a href="_socket_8cpp_source.html#l00290">Socket.cpp:290</a></div></div>
<div class="ttc" id="aclass_c_socket_html"><div class="ttname"><a href="class_c_socket.html">CSocket</a></div><div class="ttdoc">套接口类</div><div class="ttdef"><b>Definition:</b> <a href="_socket_8h_source.html#l00030">Socket.h:30</a></div></div>
<div class="ttc" id="aclass_c_socket_html_abe0681b7a8f164b806bcb1edd565ef58"><div class="ttname"><a href="class_c_socket.html#abe0681b7a8f164b806bcb1edd565ef58">CSocket::delete_class_copy_operator</a></div><div class="ttdeci">delete_class_copy_operator(CSocket)</div></div>
<div class="ttc" id="aclass_c_socket_html_a3f8d60c59caa235c4fb603e269166fd4"><div class="ttname"><a href="class_c_socket.html#a3f8d60c59caa235c4fb603e269166fd4">CSocket::SetNolock</a></div><div class="ttdeci">virtual CSockError SetNolock()</div><div class="ttdoc">设置非阻塞</div><div class="ttdef"><b>Definition:</b> <a href="_socket_8cpp_source.html#l00231">Socket.cpp:231</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_f_a_m_i_l_y_html_a2752d06098f227dbd8340b30a718da81a7c983a10bd5c8139d1aa1268993d8604"><div class="ttname"><a href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81a7c983a10bd5c8139d1aa1268993d8604">SOCKFAMILY::IPC</a></div><div class="ttdoc">进程间的通信,仅CIpcSocket使用</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00060">SocketDef.h:60</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_p_r_o_t_o_c_o_l_html_a6fcb9a12773185f3ca183ad967bb672ea1cf712009c4a2e63641289b96b3d233b"><div class="ttname"><a href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672ea1cf712009c4a2e63641289b96b3d233b">SOCKPROTOCOL::IPC_OPEN</a></div><div class="ttdoc">打开已存在的IPC，当客户端作为连接时使用（仅CIpcSocket使用）</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00033">SocketDef.h:33</a></div></div>
<div class="ttc" id="atools_8h_html_a798af1e30bc65f319c1a246cecf59e39"><div class="ttname"><a href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a></div><div class="ttdeci">unsigned int DWORD</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00134">tools.h:134</a></div></div>
<div class="ttc" id="aclass_c_ipc_socket_html_acaa3675710e25d5f88a29a8b8a3b9626"><div class="ttname"><a href="class_c_ipc_socket.html#acaa3675710e25d5f88a29a8b8a3b9626">CIpcSocket::SetSocketOpt</a></div><div class="ttdeci">virtual int SetSocketOpt(int level, int optname, const char *optval, socklen_t optlen)</div><div class="ttdoc">设置套接口选项</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_socket_8h_source.html#l00058">IpcSocket.h:58</a></div></div>
<div class="ttc" id="aclass_c_socket_html_af4c2b2c6e3696ba11c605ee6fead1736"><div class="ttname"><a href="class_c_socket.html#af4c2b2c6e3696ba11c605ee6fead1736">CSocket::Socket</a></div><div class="ttdeci">virtual CSockError Socket(SOCKFAMILY::SockFamily domain=SOCKFAMILY::IPV4, SOCKTYPE::SockType type=SOCKTYPE::STREAM, SOCKPROTOCOL::SockProtocol protocol=SOCKPROTOCOL::TCP)</div><div class="ttdoc">初始化套接字</div><div class="ttdef"><b>Definition:</b> <a href="_socket_8cpp_source.html#l00068">Socket.cpp:68</a></div></div>
<div class="ttc" id="aclass_c_ipc_socket_html_aa9da47e4da34f20ae039100f92fe8f44"><div class="ttname"><a href="class_c_ipc_socket.html#aa9da47e4da34f20ae039100f92fe8f44">CIpcSocket::Shutdown</a></div><div class="ttdeci">virtual int Shutdown(SDFLAGS::SdFlags how)</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_socket_8h_source.html#l00060">IpcSocket.h:60</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html"><div class="ttname"><a href="class_c_basic_service.html">CBasicService</a></div><div class="ttdoc">服务类 基类</div><div class="ttdef"><b>Definition:</b> <a href="_service_base_8h_source.html#l00015">ServiceBase.h:15</a></div></div>
<div class="ttc" id="anamespace_s_d_f_l_a_g_s_html_a61532db7e32f7ef1369fb2e15a035330"><div class="ttname"><a href="namespace_s_d_f_l_a_g_s.html#a61532db7e32f7ef1369fb2e15a035330">SDFLAGS::SdFlags</a></div><div class="ttdeci">SdFlags</div><div class="ttdoc">断开发送或接收</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00072">SocketDef.h:72</a></div></div>
<div class="ttc" id="aclass_c_ipc_socket_html"><div class="ttname"><a href="class_c_ipc_socket.html">CIpcSocket</a></div><div class="ttdoc">ipc通信专用套接字</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_socket_8h_source.html#l00010">IpcSocket.h:10</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_f_a_m_i_l_y_html_a2752d06098f227dbd8340b30a718da81"><div class="ttname"><a href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81">SOCKFAMILY::SockFamily</a></div><div class="ttdeci">SockFamily</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00057">SocketDef.h:57</a></div></div>
<div class="ttc" id="aclass_c_ipc_socket_html_a1dfb58fc654dc02c197b6e43d88db099"><div class="ttname"><a href="class_c_ipc_socket.html#a1dfb58fc654dc02c197b6e43d88db099">CIpcSocket::SetReuse</a></div><div class="ttdeci">virtual CSockError SetReuse()</div><div class="ttdoc">设置端口重用</div><div class="ttdef"><b>Definition:</b> <a href="_ipc_socket_8h_source.html#l00057">IpcSocket.h:57</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_t_y_p_e_html_ab1b532206487defe92ed4eeae94b488ca001599c1c291d81e5145c9aaed42852d"><div class="ttname"><a href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488ca001599c1c291d81e5145c9aaed42852d">SOCKTYPE::STREAM</a></div><div class="ttdoc">socket数据流</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00047">SocketDef.h:47</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
